net/http.transferWriter.Body (field)
21 uses
net/http (current package)
transfer.go#L62: Body io.Reader
transfer.go#L92: t.Body = rr.Body
transfer.go#L105: if t.ContentLength != 0 && !isKnownInMemoryReader(t.Body) {
transfer.go#L115: t.Body = rr.Body
transfer.go#L128: t.Body = nil
transfer.go#L133: if !atLeastHTTP11 || t.Body == nil {
transfer.go#L138: } else if t.Body == nil { // no chunking, no body
transfer.go#L172: if t.ContentLength >= 0 || t.Body == nil { // redundant checks; caller did them
transfer.go#L183: return t.Body != nil
transfer.go#L218: }(t.Body)
transfer.go#L225: t.Body = nil
transfer.go#L229: t.Body = io.MultiReader(&byteReader{b: rres.b}, errorReader{rres.err})
transfer.go#L231: t.Body = io.MultiReader(&byteReader{b: rres.b}, t.Body)
transfer.go#L234: t.Body = errorReader{rres.err}
transfer.go#L241: t.Body = io.MultiReader(finishAsyncByteRead{t}, t.Body)
transfer.go#L353: if t.Body != nil {
transfer.go#L429: if r, ok := unwrapNopCloser(t.Body); ok {
transfer.go#L432: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L436: return t.Body
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |